<!-- INCLUDE ucp_header.html -->

<form id="postform" method="post" action="{S_UCP_ACTION}"{S_FORM_ENCTYPE}>

<p>{L_DRAFTS_EXPLAIN}</p>

<!-- IF S_EDIT_DRAFT -->

    <!-- INCLUDE posting_editor.html -->

    <fieldset class="submit-buttons">
        {S_HIDDEN_FIELDS}<input type="reset" value="{L_RESET}" name="reset" class="button2" />&nbsp;
        <input type="submit" name="submit" value="{L_SAVE}" class="button1" />
        {S_FORM_TOKEN}
    </fieldset>

<!-- ELSE -->

	<!-- IF .draftrow -->
	<div class="forums">
		<ul class="topiclist forums">

		<!-- BEGIN draftrow -->
			<li class="row">
			    <p><a class="topictitle" href="{draftrow.U_VIEW_EDIT}">{draftrow.DRAFT_SUBJECT}</a></p>
			    <p>
                    <!-- IF draftrow.S_LINK_TOPIC -->{L_TOPIC}: <a href="{draftrow.U_VIEW}">{draftrow.TITLE}</a><br />
                    <!-- ELSEIF draftrow.S_LINK_FORUM -->{L_FORUM}: <a href="{draftrow.U_VIEW}">{draftrow.TITLE}</a><br />
                    <!-- ELSEIF S_PRIVMSGS -->
                    <!-- ELSE -->{L_NO_TOPIC_FORUM}<br /><!-- ENDIF -->
                    {draftrow.DATE}</p>
                <p>
                    <!-- IF draftrow.U_INSERT --><a href="{draftrow.U_INSERT}" class="gradient button1">{L_LOAD_DRAFT}</a>  <!-- ENDIF --><a href="{draftrow.U_VIEW_EDIT}" class="gradient button1">{L_VIEW_EDIT}</a>
                </p>
			</li>
		<!-- END draftrow -->
		</ul>
    </div>
	<!-- ELSE -->
    <p class="block">{L_NO_SAVED_DRAFTS}</p>
	<!-- ENDIF -->

<!-- ENDIF -->

</form>

<!-- INCLUDE ucp_footer.html -->